﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AppSocketDto.UserMessage
{
    public class UserMessageDto
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public long? UserId { get; set; }
        /// <summary>
        /// 用户手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 设备编号
        /// </summary>
        public string EquipmentNo { get; set; }
        /// <summary>
        /// 接收方用户Id
        /// </summary>
        public long? ToUserId { get; set; }
        /// <summary>
        /// 接收方IP
        /// </summary>
        public string ToUserIP { get; set; }
        /// <summary>
        /// 接收方端口号
        /// </summary>
        public int ToUserPort { get; set; }
        /// <summary>
        /// 设备相同
        /// </summary>
        public bool? EquipmentAlike { get; set; }
        /// <summary>
        /// 接收方设备在线
        /// </summary>
        public bool ToEquipmentOnline { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public MessageType Type { get; set; }
        /// <summary>
        /// 发送内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 回复时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

    }
}
